<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>hasFeature</title>
</head>
<body>
	<div id="node"></div>
	<script>
		// let node = document.getElementById('node')

		// console.log(node.isSupported('Core', '2.0'))
		// console.log(node.isSupported('Core', '3.0'))
		// console.log(node.isSupported('Core', '4.0'))
		console.log(document.implementation.hasFeature('Core', '2.0'))
		console.log(document.implementation.hasFeature('Core', '3.0'))
		console.log(document.implementation.hasFeature('Core', '4.0'))
	</script>
</body>
</html>

<!-- 
Core
XML
HTML
Views
StyleSheets
CSS
CSS2
Events
UIEvents
MouseEvents
MutationEvents
Range
Traversal
LS
LS-Async
Validation
-->